/*
package com.distributed.tcp.client;

import com.distributed.tcp.model.CommonResult;
import com.distributed.tcp.model.MessageForwardRequest;
import com.distributed.tcp.model.PortBroadcastRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "${spring.application.name}")
public interface DeviceMessageClient {


    @PostMapping("/api/message/forward")
    CommonResult<Boolean> forwardMessage(@RequestBody MessageForwardRequest request);


    @PostMapping("/api/port/broadcast")
    CommonResult<Boolean> broadcastToPort(@RequestBody PortBroadcastRequest request);
}
*/
